package com.example.demo.com.example.template;

public class PHPCourse extends NetWorkCourse {
    private boolean neetHomework = false;

    public PHPCourse(boolean neetHomework){
        this.neetHomework = neetHomework;
    }
    @Override
    void checkHomework() {
        System.out.println("检查作业");
    }

    @Override
    protected boolean needHomework(){
        return this.neetHomework;
    }


}
